﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ChangePass.ascx.cs"
    Inherits="VCN.admin.UC.ChangePass" %>
<style type="text/css">
    #addUser
    {
        width: 400px;
        height: 500px;
    }
    #addUser .lblheader
    {
        font-size: 22px;
        color: #3399CC;
        margin-bottom: 20px;
    }
    #addUser .lblleft
    {
        color: #3399CC;
        font-size: 18px;
        float: left;
        margin-left: 20px;
        margin-bottom: 20px;
    }
    #addUser .txtright
    {
        width: 200px;
        margin-bottom: 5px;
    }
    #addUser .btn
    {
        margin-left: 90px;
    }
    #addUser .status
    {
        color: Red;
        margin-left: 80px;
    }
    .style1
    {
        width: 137px;
    }
</style>
<div id="addUser">
    <div class="lblheader" style="text-align: center">
        THAY ĐỔI MẬT KHẨU</div>
    <div class="status">
        <asp:Label CssClass="status" ID="lblStatus" runat="server" Visible="false"></asp:Label></div>
    <table style="width:100%;">
        <tr>
            <td class="style1">
                <span style="font-weight: bold; color: #3399CC">Mật khẩu mới:</span>
            </td>
            <td>
                <asp:TextBox runat="server" TextMode="Password" ID="txtnewPass" CssClass="txtright"></asp:TextBox>
                &nbsp;&nbsp;<asp:RequiredFieldValidator ID="rquField" runat="server" ControlToValidate="txtnewPass"
                    ErrorMessage="*">
                </asp:RequiredFieldValidator>
                  <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtnewPass"
                            ErrorMessage="Password không đúng định dạng" ValidationExpression="^[a-zA-Z0-9_!@#$%&*_()+;\s]{4,30}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td class="style1">
                <span style="font-weight: bold; color: #3399CC">Nhập lại mật khẩu:</span>
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtoldpassword" TextMode="Password" CssClass="txtright"></asp:TextBox>
                &nbsp;&nbsp;<asp:RequiredFieldValidator ID="rqPass" runat="server" ControlToValidate="txtoldpassword"
                    ErrorMessage="*">
                </asp:RequiredFieldValidator>
                  <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtoldpassword"
                            ErrorMessage="Password không đúng định dạng" ValidationExpression="^[a-zA-Z0-9_!@#$%&*_()+;\s]{4,30}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="padding-left: 70px; padding-top: 20px">
                <asp:Button ID="btnAdd" runat="server" Text=":: Submit::" OnClick="btnAdd_Click" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="btnclear" runat="server" Text="::Cancel::" OnClick="btnclear_Click" />
            </td>
        </tr>
    </table>
</div>
